package com.zxing.dubbo.provider.service.impl;

import com.zxing.dubbo.interfaces.dto.ResponseDTO;
import com.zxing.dubbo.interfaces.dto.test.User;
import com.zxing.dubbo.interfaces.inter.TestInter;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService(protocol = "dubbo")
public class TestService implements TestInter {
    @Override
    public ResponseDTO<User> test() {
        return ResponseDTO.ok(new User(true));
    }
}
